#! /usr/bin/env python
#coding=utf-8

from get_month_quarter import *
from get_weekreport_detail import get_plan_delay_question_detail

#from __future__ import division


#调用get_month_quarter.py中get_db_connection()获取数据库联接
db = get_db_connection()

#meta = MetaData(db)
#db.metadata.reflect()

def set_plan_delay_question_run():

    data = get_plan_delay_question_detail()
    
if __name__ == '__main__':
    try:
        db.begin()
        set_plan_delay_question_run()
        db.commit()
        log.info("finish")
    except Exception, e:
        db.rollback()
        log.exception(e)
        log.error('error')
        raise
    
